package chap9.PP9_3;
//**********************************************************************************
//  ReadingMaterial.java                    Author:GK
//
//  描述阅读材料各种属性的值，例如页数和关键词。
//**********************************************************************************

public class ReadingMaterial {
    protected int pages = 0;
    protected String keyWords;
    protected String name;

    public ReadingMaterial(String strname, String strkeyWords)
    {
        name = strname;
        keyWords = strkeyWords;
    }

    public void setName(String str)
    {
        name = str;
    }

    public String getName()
    {
        return name;
    }

    public void setKeyWords(String str)
    {
        keyWords = str;
    }

    public String getKeyWords()
    {
        return keyWords;
    }
}
